﻿@model PYS.Models.LogOnModel

@{
    ViewBag.Title = "Login";
}

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

<div class="paddingStyle">
@Html.ValidationSummary(true, "Login-ul nu s-a realizat. Incercati din nou.")


@using (Html.BeginForm()) {
  <div>  
        <fieldset style="width:100%">
            <legend>Date personale</legend>

            <div class="editor-label">
                @Html.LabelFor(m => m.email)
            </div>
            <div class="editor-field">
                @Html.TextBoxFor(m => m.email)
                @Html.ValidationMessageFor(m => m.email)
            </div>

            <div class="editor-label">
                @Html.LabelFor(m => m.cnp)
            </div>
            <div class="editor-field">
                @Html.TextBoxFor(m => m.cnp)
                @Html.ValidationMessageFor(m => m.cnp)
            </div>

            <div class="editor-label">
                @Html.CheckBoxFor(m => m.RememberMe)
                @Html.LabelFor(m => m.RememberMe)
            </div>

            <p>
                <input type="submit" value="Log In" class="account" />
                <div>
                    <a href="Register"><input type="button" class="formsButton" value="Cont nou" /></a>
                </div>
            </p>

        </fieldset>

    </div>
   
}
  <div class="outSideFieldset">
     <a href="About"><input type="button" class="formsButton" value="Ce e Steel Tonic?" /></a>
  </div>

 </div>